INCLUDE = -I/usr/include -Isrc -I/usr/include/SDL
CPPFLAGS 	= -Wall -pedantic -ansi -ggdb
CPP_FILES = *.cpp
OBJ_FILES = *.o
INCLUDES_LIBS =  -L/usr/lib -lSDL -lSDL_ttf



all: $(OBJ_FILES)
	g++ -ggdb -o main $(OBJ_FILES) $(INCLUDES_LIBS)
	

$(OBJ_FILES): $(CPP_FILES)
	g++ $(CPPFLAGS) -c $(CPP_FILES)  $(INCLUDE)

	
clean:
	rm -rf *.o main
